import router from "@r"
import { componentsPlugin } from "./components.js"
import 'ant-design-vue/dist/antd.css'
/**
 * 插件集合
 * @type {import("vue").Plugin[]}
 */

const plugins = [router,componentsPlugin]
/**
 * 批量注册插件
 * @param {import("vue").App} app
 */
export const usePlugins = app => 
    plugins.forEach(app.use,app)
